package cn.itcast.servlet;

import cn.itcast.domain.Student;
import cn.itcast.service.StudentService;
import cn.itcast.service.impl.StudentServiceImpl;
import org.junit.Test;

import java.util.List;
public class StudentServlet {
    private StudentService service = new StudentServiceImpl();

    @Test
    public void test1(){
        List<Student> students = service.findAll();
        System.out.println(students);
    }
}
